<!DOCTYPE html>
<html>
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="gray-bg">
	<div class="wrapper wrapper-content ">
		<div class="col-sm-12">
		<div class="ibox">
			<div class="ibox-body">
				<div class="columns pull-right" style="margin-right:10px">
					<button class="btn " onclick="ajax(2)">最近30天</button>
				</div>
				<div class="columns pull-right" style="margin-right:10px">
					<button class="btn " onclick="ajax(3)">最近7天</button>
				</div>
				<div class="columns pull-right" style="margin-right:10px">
					<button class="btn " onclick="ajax(1)">昨天</button>
				</div>
				<div class="columns pull-right" style="margin-right:10px">
					<button class="btn " onclick="ajax('')">全部</button>
				</div>
			</div>
		</div>
		</div>
		<div class="row form-horizontal m-t">
			<div class="col-sm-12">
				<div class="ibox float-e-margins">
					<div class="form-bjnone">
				        <div class="cl">
				           <span class="btn btn-success fileinput-button">
					          <span>订单统计</span>
					       </span>
				        </div>
					</div>
					<div class="ibox-content">
							<div class="form-group">	
								<label class="col-sm-3 control-label">销售总额：</label>
								<div class="col-sm-8">
									<input id="paymoney" class="form-control" type="text" readonly="readonly">
								</div>
							</div>
							<div class="form-group">	
								<label class="col-sm-3 control-label">有效订单总数：</label>
								<div class="col-sm-8">
									<input id="countsuccess" class="form-control" type="text" readonly="readonly">
								</div>
							</div>
							<div class="form-group">	
								<label class="col-sm-3 control-label">有效订单总额：</label>
								<div class="col-sm-8">
									<input id="validpaymoney" class="form-control" type="text" readonly="readonly">
								</div>
							</div>
							<div class="form-group">	
								<label class="col-sm-3 control-label">无效订单总数(关闭或取消)：</label>
								<div class="col-sm-8">
									<input id="invalidcount" class="form-control" type="text" readonly="readonly">
								</div>
							</div>
							<div class="form-group">	
								<label class="col-sm-3 control-label">无效订单总额：</label>
								<div class="col-sm-8">
									<input id="invalidpaymoney" class="form-control" type="text" readonly="readonly">
								</div>
							</div>
							<div class="form-group">	
								<label class="col-sm-3 control-label">已成交订单总数：</label>
								<div class="col-sm-8">
									<input id="endordercount" class="form-control" type="text" readonly="readonly">
								</div>
							</div>
							<div class="form-group">	
								<label class="col-sm-3 control-label">已成交订单总额：</label>
								<div class="col-sm-8">
									<input id="endordermoneycount" class="form-control" type="text" readonly="readonly">
								</div>
							</div>
					</div>
				</div>
			</div>
		</div>
		<div class="row form-horizontal m-t">
			<div class="col-sm-12">
				<div class="ibox float-e-margins">
					<div class="form-bjnone">
				        <div class="cl">
				           <span class="btn btn-success fileinput-button">
					          <span>会员统计</span>
					       </span>
				        </div>
					</div>
					<div class="ibox-content">
							<div class="form-group">	
								<label class="col-sm-3 control-label">会员总数：</label>
								<div class="col-sm-8">
									<input id="isvipcount" class="form-control" type="text" readonly="readonly">
								</div>
							</div>
							<div class="form-group">	
								<label class="col-sm-3 control-label">有订单会员数：</label>
								<div class="col-sm-8">
									<input id="orderisvip" class="form-control" type="text" readonly="readonly">
								</div>
							</div>
							<div class="form-group">	
								<label class="col-sm-3 control-label">会员订单总数：</label>
								<div class="col-sm-8">
									<input id="isviporder" class="form-control" type="text" readonly="readonly">
								</div>
							</div>
							<div class="form-group">	
								<label class="col-sm-3 control-label">会员购物总额：</label>
								<div class="col-sm-8">
									<input id="vippaymoneycount" class="form-control" type="text" readonly="readonly">
								</div>
							</div>
							<div class="form-group">	
								<label class="col-sm-3 control-label">会员购买率：</label>
								<div class="col-sm-8">
									<input id="vippurchaserate" class="form-control" type="text" readonly="readonly">
								</div>
							</div>
							<div class="form-group">	
								<label class="col-sm-3 control-label">普通会员订单数：</label>
								<div class="col-sm-8">
									<input id="noisviporder" class="form-control" type="text" readonly="readonly">
								</div>
							</div>
							<div class="form-group">	
								<label class="col-sm-3 control-label">普通购物额：</label>
								<div class="col-sm-8">
									<input id="novippaymoneycount" class="form-control" type="text" readonly="readonly">
								</div>
							</div>
					</div>
				</div>
			</div>
		</div>
		
		<div class="row form-horizontal m-t">
			<div class="col-sm-12">
				<div class="ibox float-e-margins">
					<div class="form-bjnone">
				        <div class="cl">
				           <span class="btn btn-success fileinput-button">
					          <span>积分统计</span>
					       </span>
				        </div>
					</div>
					<div class="ibox-content">
						<div class="form-group">	
							<label class="col-sm-3 control-label">总赠送消费积分(优币)：</label>
							<div class="col-sm-8">
								<input id="youbicount" class="form-control" type="text" readonly="readonly">
							</div>
						</div>
						<div class="form-group">	
							<label class="col-sm-3 control-label">操作：</label>
							<div class="col-sm-8">
								<a href="javascript:viod(0)" onclick="order()">查看订单</a>&nbsp;&nbsp;&nbsp;&nbsp;<a href="javascript:viod(0)" onclick="orderproduct()">查看订单商品</a>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
     </div>
	<div th:include="include::footer"></div>
	<script type="text/javascript" src="/js/appjs/shop/statistical/comprehensive.js">
	</script>
</body>
</html>
